package gpl.pierrick.brihaye.util;

public class Pair {
	public String first;
	public String second;
	
	public Pair(String first, String second) {
		this.first = first;
		this.second = second;
	}

	@Override
	public boolean equals(Object obj) {
		Pair p = (Pair) obj;
		return this.first.equals(p.first) && this.second.equals(p.second);
	}

	@Override
	public int hashCode() {
		return first.hashCode() + second.hashCode();
	}
}
